<!DOCTYPE html>
<html>
	<head>
		<title>Incomplete drag and drop with deactivate in windowless Flash</title>
		<style type="text/css">
object {
	width: 400px;
	height: 400px;
	border: 5px solid black;
}
		</style>
	</head>
	<body>
		<noscript><p>Enable JavaScript and reload</p></noscript>
		<!-- Test is based on expected behaviour of windowless plugin where the mouseup is not sent to the plugin even though a drag was in operation. -->
		<p>Drag the orange square until the mouse is outside the black square, then release it. Move the mouse over the blue square. Pass if the orange square follows the mouse.</p>
		<script type="text/javascript">
var plugincode = '<object data="dragndropleavedeactivate.swf" type="application/x-shockwave-flash"><param name="wmode" value="opaque">Flash plugin is required for this test.</object>';
		</script>
		<script type="text/javascript" src="click-to-activate.js"></script>
	</body>
</html>